function selectRoles(userid) {
  var url = "gftuser.x?op=selectRoles&u.id=" + userid;
  var retVal = window.showModalDialog(url,null,"dialogwidth:800px;dialogheight:700px");    
  _obj("id_op").value = "editUser";
  if (retVal !== undefined && retVal !== '')
    _obj("editFrm").submit();
}

function selectRights(roleid) {
  var url = "gftuser.x?op=selectRights&r.id=" + roleid;
  var retVal = window.showModalDialog(url,null,"dialogwidth:800px;dialogheight:700px");    
  _obj("id_op").value = "editRole";
  if (retVal !== undefined && retVal !== '')
    _obj("editFrm").submit();
}